import com.kt.dao.imp.UserDAOImp;
import com.kt.domain.Category;
import com.kt.domain.User;
import com.kt.service.imp.CategoryServiceImp;
import com.kt.utils.UtilDB;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class test {

    public static void main(String[] args) throws SQLException {
        CategoryServiceImp categoryServiceImp = new CategoryServiceImp();
        Category category = categoryServiceImp.findByName("挂壁式");
        System.out.println("category = " + category);
    }
}
